package cn.java76.spring1;

/**
 * @author oldliu
 * @since 1.0
 */
//组件
public class HelloSpring {
    private String people;
    private String words;

    public HelloSpring(){
        System.out.println("HelloSpring 被构建了。。。");
    }
    public void say(){
        System.out.println(people+"说："+words);
    }

    //set
    public String getPeople() {
        return people;
    }

    public void setPeople(String people) {
        this.people = people;
    }

    public String getWords() {
        return words;
    }

    public void setWords(String words) {
        this.words = words;
    }
}
